package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallSystemPluginDao;
import com.appkubes.mall.core.entity.MallSystemPlugin;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallSystemPluginService extends AbstractBaseService<BaseMallSystemPluginDao, MallSystemPlugin> {

    MallSystemPlugin getOneByEntity(MallSystemPlugin entity);

    List<MallSystemPlugin> selectListByEntity(MallSystemPlugin entity);

    IPage<MallSystemPlugin> selectPageByEntity(IPage<MallSystemPlugin> page);
    IPage<MallSystemPlugin> selectPageByEntity(PageVO pageVO);

    IPage<MallSystemPlugin> selectPageByEntity(MallSystemPlugin entity, IPage<MallSystemPlugin> page);
    IPage<MallSystemPlugin> selectPageByEntity(MallSystemPlugin entity, PageVO pageVO);

    IPage<MallSystemPlugin> selectPageByEntity(MallSystemPlugin entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallSystemPlugin entity);
}
